package com.platform.dao;

import com.platform.entity.res.ResCase;
import com.platform.entity.res.ResTrain;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 会员聚会记录mapper
 */
@Mapper
public interface ApiResTrainMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<ResTrain> {

    /**
     * 分页查询
     * @param map
     * @return
     */
    List<ResTrain> pageList(Map<String, Object> map);

    /**
     * 查询总记录数
     * @param map
     * @return
     */
    int queryTotal(Map<String, Object> map);

}
